﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSerialVMs
{
    public partial class EquipmentSerialSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._EquipmentSerial._Equipment")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._EquipmentSerial._SerialName")]
        public string SerialName { get; set; }
        [Display(Name = "_Model._EquipmentSerial._Description")]
        public string Description { get; set; }
        [Display(Name = "_Model._EquipmentSerial._BaudRate")]
        public int? BaudRate { get; set; }
        [Display(Name = "_Model._EquipmentSerial._DataLength")]
        public int? DataLength { get; set; }
        [Display(Name = "_Model._EquipmentSerial._StopBit")]
        public decimal? StopBit { get; set; }
        [Display(Name = "_Model._EquipmentSerial._Parity")]
        public int? Parity { get; set; }
        [Display(Name = "_Model._EquipmentSerial._Threshold")]
        public int? Threshold { get; set; }
        [Display(Name = "_Model._EquipmentSerial._Active")]
        public bool? Active { get; set; }
        [Display(Name = "_Model._EquipmentSerial._TagId")]
        public long? TagId { get; set; }
        [Display(Name = "_Model._EquipmentSerial._TagName")]
        public string TagName { get; set; }
        [Display(Name = "_Model._EquipmentSerial._GlobalPushlish")]
        public bool? GlobalPushlish { get; set; }
        [Display(Name = "_Model._EquipmentSerial._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._EquipmentSerial._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._EquipmentSerial._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._EquipmentSerial._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}